import {
	http
} from '@/utils/http'
export const getUserInfoAPI = () => {
	return http({
		method: 'GET',
		url: '/user/zuserinfo',
	})
}
export const UserRechargeAPI = () => {
	return http({
		method: 'GET',
		url: '/user/sqchongzhi',
	})
}
export const setYzAPI = data => {
	return http({
		method: 'POST',
		url: '/user/seterciyanzheng',
		data
	})
}
export const doRechargeAPI = data => {
	return http({
		method: 'POST',
		url: '/user/dosqchongzhi',
		data
	})
}
export const setQbAPI = data => {
	return http({
		method: 'POST',
		url: '/user/setqianbao',
		data
	})
}
export const setjYAPI = data => {
	return http({
		method: 'POST',
		url: '/user/editjiaoyimima',
		data
	})
}
export const setEmailAPI = data => {
	return http({
		method: 'POST',
		url: '/user/xgyouxiang',
		data
	})
}
export const SetAPI = () => {
	return http({
		method: 'GET',
		url: '/gezhongqq/showneedset',
	})
}
export const rechargeLogAPI = (params) => {
	return http({
		method: 'GET',
		url: `/user/czsqlist?page=${params.page}&hangshu=${params.size}`,
	})
}
export const withdrawLogAPI = (params) => {
	return http({
		method: 'GET',
		url: `/user/txsqlist?page=${params.page}&hangshu=${params.size}`,
	})
}
export const tokensLogAPI = (params) => {
	return http({
		method: 'GET',
		url: `/gezhongqq/yueliushui?page=${params.page}&hangshu=${params.size}`,
	})
}